<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/chili-1.7.pack.js"></script>
		<script type="text/javascript" src="js/jquery.easing.js"></script>
		<script type="text/javascript" src="js/jquery.dimensions.js"></script>
		<script type="text/javascript" src="js/jquery.accordion.js"></script>
		<script language="javascript">
	jQuery().ready(function(){
		jQuery('#navigation').accordion({
			header: '.head',
			navigation1: true, 
			event: 'click',
			fillSpace: true,
			animated: 'bounceslide'
		});
	});
</script>
		<style type="text/css">
<!--
body {
	margin: 0px;
	padding: 0px;
	font-size: 12px;
}

#navigation {
	margin: 0px;
	padding: 0px;
	width: 147px;
}

#navigation a.head {
	cursor: pointer;
	background: url(images/main_34.gif) no-repeat scroll;
	display: block;
	font-weight: bold;
	margin: 0px;
	padding: 5px 0 5px;
	text-align: center;
	font-size: 12px;
	text-decoration: none;
}

#navigation ul {
	border-width: 0px;
	margin: 0px;
	padding: 0px;
	text-indent: 0px;
}

#navigation li {
	list-style: none;
	display: inline;
}

#navigation li li a {
	display: block;
	font-size: 12px;
	text-decoration: none;
	text-align: center;
	padding: 3px;
}

#navigation li li a:hover {
	background: url(images/tab_bg.gif) repeat-x;
	border: solid 1px #adb9c2;
}
-->
</style>
	</head>
	<body>
		<div style="height: 100%;">
			<ul id="navigation">
				<li>
					<a class="head">配置区域</a>
					<ul>
					<c:forEach var="funtion" items="${menu}">
						<li>
							<c:if test="${funtion.node==1}">
								<a href="${funtion.url}" target="rightFrame">${funtion.name}</a>
							</c:if>
						</li>
					</c:forEach>
					</ul>
				</li>
				<li>
					<a class="head">门禁权限管理</a>
					<ul>
					<c:forEach var="funtion" items="${menu}">
						<li>
							<c:if test="${funtion.node==2}">
								<a href="${funtion.url}" target="rightFrame">${funtion.name}</a>
							</c:if>
						</li>
					</c:forEach>
					</ul>
				</li>
				<li>
					<a class="head">门禁流水记录管理</a>
					<ul>
					<c:forEach var="funtion" items="${menu}">
						<li>
							<c:if test="${funtion.node==3}">
								<a href="${funtion.url}" target="rightFrame">${funtion.name}</a>
							</c:if>
						</li>
					</c:forEach>
					</ul>
				</li>
				<li>
					<a class="head">系统管理</a>
					<ul>
					<c:forEach var="funtion" items="${menu}">
						<li>
							<c:if test="${funtion.node==4}">
								<a href="${funtion.url}" target="rightFrame">${funtion.name}</a>
							</c:if>
						</li>
					</c:forEach>
					</ul>
				</li>
				<li>
					<a class="head">报表管理</a>
					<ul>
					<c:forEach var="funtion" items="${menu}">
						<li>
							<c:if test="${funtion.node==5}">
								<a href="${funtion.url}" target="rightFrame">${funtion.name}</a>
							</c:if>
						</li>
					</c:forEach>
					</ul>
				</li>
				<li>
					<a class="head">备份与恢复</a>
					<ul>
					<c:forEach var="funtion" items="${menu}">
						<li>
							<c:if test="${funtion.node==6}">
								<a href="${funtion.url}" target="rightFrame">${funtion.name}</a>
							</c:if>
						</li>
					</c:forEach>
					</ul>
				</li>
			</ul>
		</div>
	</body>
</html>
